home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
wordsing
/
pcw303d3
/
workutil.bat
< prev
Wrap
DOS Batch File
|
1990-11-08
|
5KB
|
166 lines
getyn Do you use Windows, DesqView, or any program using PIF files?
if errorlevel 1 copy ed.pif %t%ed.pif
getyn ε %t%menuprt.exe
if not errorlevel 1 goto a
getyn Your file MENUPRT.EXE is obsolete; delete it? Type Y if unsure.
if errorlevel 1 del %t%menuprt.exe
:a
getyn Do you want to copy the 3 printer test files? Type Y if unsure.
if not errorlevel 1 goto b
copy justify.tst %t%justify.tst
copy chars.tst %t%chars.tst
copy print.tst %t%print.tst
:b
echo .
getyn Do you want to create the Print Control File? Type Y if unsure.
if not errorlevel 1 goto c
getyn Do you have a laser printer? Type N if unsure.
if errorlevel 1 goto d
getyn Do you have an HP DeskJet with soft fonts?
if errorlevel 1 copy deskdown.bat %t%deskdown.bat
menuprt1 %t%pr.def
if errorlevel 1 menuprt2 // %t%pr.def
if errorlevel 1 menuprt3 // %t%pr.def
if errorlevel 1 menuprt4 // %t%pr.def
goto e
:d
getyn ≡H0
if errorlevel 1 goto f
getyn ≡W2
if not errorlevel 1 goto f
echo The PC-Write file, help file, and printer files won't fit
getyn on one diskette. Insert Extra disk in drive %t%, type Y.
if not errorlevel 1 goto z
:f
getyn Do you have an HP LaserJet (or compatible) with soft fonts?
if not errorlevel 1 goto g
copy hpdown.bat %t%hpdown.bat
echo (you may want the PC-Write Font Selector Program)
:g
getyn Do you have a Quadram QuadLaser and soft fonts?
if errorlevel 1 copy quaddown.bat %t%quaddown.bat
getyn Do you have any printer using Adobe PostScript?
if not errorlevel 1 goto h
copy psdown.ini %t%pr.ini
copy psdown.fin %t%pr.fin
:h
menulaz1 %t%pr.def
if errorlevel 1 menulaz2 // %t%pr.def
:e
getyn ≡M0
if errorlevel 1 goto c
echo .X:10 >> %t%pr.def
echo .XT:6 >> %t%pr.def
echo .XB:6 >> %t%pr.def
:c
rem getyn Do you want the "£" size to print using code 35 ('#')?
rem if errorlevel 1 echo $156=35 >> %t%pr.def
echo .
getyn Do you want to use a "mouse" with PC-Write? Type N if unsure.
if not errorlevel 1 goto i
echo The mouse files will be copied. Consult the User's
echo Guide or Quick Guide for complete setup directions.
getyn Do you have a Mouse Systems mouse?
if not errorlevel 1 goto j
copy msysmice.msc %t%msysmice.msc
copy msysmice.com %t%msysmice.com
:j
getyn Do you have a LogiTech mouse?
if not errorlevel 1 goto k
copy logimice.def %t%logimice.def
copy logimice.mnu %t%logimice.mnu
:k
getyn Do you have a Microsoft mouse?
if not errorlevel 1 goto l
copy micsmice.def %t%micsmice.def
copy micsmice.com %t%micsmice.com
copy micsmice.mnu %t%micsmice.mnu
echo &J:8 >> %t%ed.def
:l
:i
getyn ≡B0
if errorlevel 1 goto m
getyn Insert blank disk for Utility Disk backup in drive %d%, type Y.
if not errorlevel 1 goto m
echo on
copy *.* %d%
echo off
:m
:p
if exist words.mas goto n
getyn Do you have a copy of the PC-Write Reference diskette?
if errorlevel 1 goto o
echo Without a reference diskette, you can't check spelling,
echo or print the on-disk Tutorial or Quick Guide.
echo However, you can do normal editing, and basic printing.
goto z
:o
getyn Insert PC-Write Reference diskette in default drive, type Y.
if not errorlevel 1 goto z
goto p
:n
echo .
getyn ≡B3
if not errorlevel 1 goto q
getyn Insert blank disk for Reference Disk backup in drive %d%, type Y.
if not errorlevel 1 goto q
echo on
copy *.* %d%
echo off
:q
echo The master word list is a large (110 KB) file used to check spelling.
echo Your computer needs at least 448 KB to use this word list.
getyn Do you want this word list? Type Y if unsure.
if not errorlevel 1 goto r
getyn ≡W2
if not errorlevel 1 goto s
echo The PC-Write program and word list won't fit on one disk.
getyn Insert your Extra disk in drive %t%, type Y.
if not errorlevel 1 goto z
:s
copy words.mas %t%words.mas
:r
echo .
echo There are smaller help files for beginners and advanced users.
getyn Do you want either of these help files? Type N if unsure.
if not errorlevel 1 goto t
getyn ≡H0
if errorlevel 1 goto u
echo You asked for the main help file earlier. If you get a small help
getyn file, this main help won't be available. Is this ok?
if not errorlevel 1 goto t
:u
getyn ≡W2
if not errorlevel 1 goto v
getyn Insert your Work Disk in drive %t%, type Y.
if not errorlevel 1 goto z
:v
getyn Type Y to get beginner's help, or N to get advanced help
if errorlevel 1 copy edbegin.hlp %t%ed.hlp
if not errorlevel 1 copy edquick.hlp %t%ed.hlp
:t
echo .
echo PC-Write Work Disk Is Now Complete
echo .
echo Leave the Reference disk in the default drive to
echo type and/or print the Tutorial and Quick Guide.
echo Then place all original and backup diskettes in a safe place.
set t=
set d=
set b=
set w=
set h=
set m=
getyn Do you want to type and/or print the Tutorial and Quick Guide?
if not errorlevel 1 goto z
echo Note: Type Ctl-C at any time to stop typing or printing.
getyn Do you want to see them on your screen?
if not errorlevel 1 goto w
typeman
:w
getyn Do you want to print the Tutorial and Quick Guide?
if not errorlevel 1 goto z
getyn Is your printer ready, with 95 pages of paper?
printman
:z